firefox驱动geckodriver、Chrome驱动chromedriver | 您所在的位置:网站首页 › 107 1表在哪里下载 › firefox驱动geckodriver、Chrome驱动chromedriver |
在使用selenium做web浏览器的自动化测试时必须安装各个浏览器对应版本的驱动才可以启动浏览器。 在这个过程中,如果浏览器版本与驱动(webDriver)的版本不对应,通常会引发各种问题,如:无法启动浏览器,浏览器启动了但元素无法识别,元素可以识别不能输入或者点击等等问题。 以下是我经常百度,总结的各个版本的对应表及下载地址,也为自己工作中参考。 注意:selenium版本、浏览器版本、webdriver版本要一一对应,32和64位系统也要对应。 还需要将对应的驱动路径添加到环境变量中:参考 selenium与geckodriver对应Firefox、chromedriver(2.37)对应Chrome版本https://blog.csdn.net/yinshuilan/article/details/79730239 python+selenium跑chorme时chromedriver放在哪里https://blog.csdn.net/yinshuilan/article/details/78742728 Firefox驱动各个版本下载地址: https://github.com/mozilla/geckodriver/releasesFirefox与geckodriver版本映射表 参考:https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/Support.html Chrome驱动各个版本下载地址: http://chromedriver.storage.googleapis.com/index.html对应版本查看请参考: IE浏览器驱动下载地址为:http://selenium-release.storage.googleapis.com/index.html |
CopyRight 2018-2019 实验室设备网 版权所有 |